package com.sanjiahantang.youjiaclient.module.me.require.beans;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.sanjiahantang.youjiaclient.base.BaseBean;

import org.json.JSONException;
import org.json.JSONObject;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

/**
 * 投标设计师
 * Created by zy on 2017/12/28.
 */

public class BidDesignerBean extends BaseBean{
    private String data;

    public List<Data> getData() {
        return new Gson().fromJson(data,new TypeToken<List<Data>>(){}.getType());
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data{

        private String address;
        private String roleId;
        private int toDay;
        private double sysPoints;
        private String userName;
        private String url;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getRoleId() {
            return roleId;
        }

        public void setRoleId(String roleId) {
            this.roleId = roleId;
        }

        public int getToDay() {
            return toDay;
        }

        public void setToDay(int toDay) {
            this.toDay = toDay;
        }

        public double getSysPoints() {
            return sysPoints;
        }

        public void setSysPoints(double sysPoints) {
            this.sysPoints = sysPoints;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
